package com.njitt.bysj.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class LinkManBean {
    private Integer id;

    private String linkmanName;

    private Integer linkmanSex;

    private String linkmanPhone;

    private String linkmanEmail;

    private Integer linkmanStatus;

    private String linkmanJob;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date linkmanCreateDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date linkmanUpdateDate;

    private Integer supplierId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLinkmanName() {
        return linkmanName;
    }

    public void setLinkmanName(String linkmanName) {
        this.linkmanName = linkmanName == null ? null : linkmanName.trim();
    }

    public Integer getLinkmanSex() {
        return linkmanSex;
    }

    public void setLinkmanSex(Integer linkmanSex) {
        this.linkmanSex = linkmanSex;
    }

    public String getLinkmanPhone() {
        return linkmanPhone;
    }

    public void setLinkmanPhone(String linkmanPhone) {
        this.linkmanPhone = linkmanPhone == null ? null : linkmanPhone.trim();
    }

    public String getLinkmanEmail() {
        return linkmanEmail;
    }

    public void setLinkmanEmail(String linkmanEmail) {
        this.linkmanEmail = linkmanEmail == null ? null : linkmanEmail.trim();
    }

    public Integer getLinkmanStatus() {
        return linkmanStatus;
    }

    public void setLinkmanStatus(Integer linkmanStatus) {
        this.linkmanStatus = linkmanStatus;
    }

    public String getLinkmanJob() {
        return linkmanJob;
    }

    public void setLinkmanJob(String linkmanJob) {
        this.linkmanJob = linkmanJob == null ? null : linkmanJob.trim();
    }

    public Date getLinkmanCreateDate() {
        return linkmanCreateDate;
    }

    public void setLinkmanCreateDate(Date linkmanCreateDate) {
        this.linkmanCreateDate = linkmanCreateDate;
    }

    public Date getLinkmanUpdateDate() {
        return linkmanUpdateDate;
    }

    public void setLinkmanUpdateDate(Date linkmanUpdateDate) {
        this.linkmanUpdateDate = linkmanUpdateDate;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }
}